<%--
*@Description 
*@Author KingTeng
*@Date 2022/3/6
*@Time 16:17
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<nav class="top ">
    <nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
    <a href="foreHome">
        <span style="color:#C40000;margin:0px" ></span>
        首页
    </a>

    <span>欢迎来到WIT核酸检测信息统一平台</span>

    <c:if test="${not empty sessionScope.user}">
        <span>${sessionScope.user.account}</span>
    </c:if>
    <c:if test="${sessionScope.user.power==0}">
        <a href="foreUser" target="_blank">个人中心</a>
        <a href="foreLogout">注销</a>
    </c:if>
    <c:if test="${sessionScope.user.power==1}">
        <a href="foreAdmin" target="_blank">管理后台</a>
        <a href="foreLogout">注销</a>
    </c:if>
    <c:if test="${sessionScope.user.power==2}">
        <a href="foreStationin" target="_blank">检测站系统</a>
        <a href="foreLogout">注销</a>
    </c:if>

    <c:if test="${empty user}">
        <a href="foreToLoginPage">请登录</a>
        <a href="foreToRegisterPage">免费注册</a>
    </c:if>

    <span class="ml-auto">
			<a><span style="color: red">欢迎注册使用核酸检测信息统一平台</span> </a>
    </span>
</nav>
</nav>
<body style="padding-top: 10px;">


